From: Florian Müllner Date: Tue, 10 Jul 2012 20:14:11 +0000 (+0200) Subject: appMenu: Disable app menu during startup animations X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6350 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f906cfe5f68dbaa6f8b49e907c73b77117a1e1fd;p=gnome-shell.git appMenu: Disable app menu during startup animations When activating the app menu while displaying a startup notification animation, the application shown in the menu does not match the application providing the menu. To avoid this case, make the menu button unreactive while playing the animation. https://bugzilla.gnome.org/show_bug.cgi?id=672322 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index a06cc92b5..c969381af 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -346,6 +346,7 @@ const AppMenuButton = new Lang.Class({ return; this._stop = true; + this.actor.reactive = true; Tweener.addTween(this._spinner.actor, { opacity: 0, time: SPINNER_ANIMATION_TIME, @@ -360,6 +361,7 @@ const AppMenuButton = new Lang.Class({ startAnimation: function() { this._stop = false; + this.actor.reactive = false; this._spinner.actor.show(); },